package me.ahoukuse.demo;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@Controller
public class App {
	@RequestMapping(value = "/hello")
	public String handleReq(@RequestParam(value = "n") String n,Model model) {
		System.out.println(n);
		model.addAttribute("n", n);
		return "first";
	}

}
